// pages/result/result.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    var that = this;
    wx.getStorage({
      key: 'm_data',
      success: function (res) {
        var res_data = res.data.data;
        that.setData({
          collar_opening: res_data.collar_opening,
          should_width: res_data.should_width,
          front_length: res_data.front_length,
          chest_width: res_data.processed_chest_width,
          processed_middle_waisted: res_data.processed_middle_waisted,
          sleeve_length: res_data.right_sleeve
        })
      }
    })
  },
  again: function () {
    wx.navigateTo({
      url: '../intelligence/intelligence'
    })
  }

})